package com.wanshi.cloud.client;


import com.wanshi.cloud.entity.Products;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 顽石教育-www.wanshi.com
 * @since 2021-09-04
 */
@FeignClient(value="prodya-server")
@RequestMapping("/feign/products")
public interface ProductsClient {




    @GetMapping("/{id}")
    Products findbuid(@PathVariable String id);
}
